<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-Ua-Compatible" content="ie=edge">
        <title>01-react 基本使用</title>
    </head>
    <body>
    
        <div id="root"></div>
    
    
        <script src="../node_modules/react/umd/react.development.js"></script>
        <script src="../node_modules/react-dom/umd/react-dom.development.js"></script>
        <script>
            const el = React.createElement('h1', { title: '标题' }, 'Hello React')

            ReactDOM.render(el,document.getElementById('root'))

        </script>


    </body>

</html>